/**
 * @Copyright: Interactive Business Solution Pte Ltd, Singapore
 * @Author: Li Wen, 2007-12-18
 * @Version: 071218.001
 * Model class for Departure, following properties are requried
 * id, packageid, departureDate, departureMonth, departureYear, slot, available, updateTime and offlineOperator
 */
package com.ibsol.model
{
	[Bindable]
	[RemoteClass(alias="com.ibsol.tourix.model.Departure")]
	public class Departure
	{
		private var _id:int;
		private var _packageid:int;
		private var _departureDate:int;
		private var _departureMonth:int;
		private var _departureYear:int;
		private var _slot:int;
		private var _available:int;
		private var _updateTime:String;
		private var _offlineOperator:String;
		private var _date:String;
		private var _pairid:String;
		/**
		 * Default constructor of Departure  class
		 */
		public function Departure()
		{
			_id = 0;
			_packageid = 0;
			_departureDate = 0;
			_departureMonth = 0;
			_departureYear = 0;
			_slot = 0;
			_available = 0;
			_updateTime = "";
			_offlineOperator = "";
			//date 为 departureYear，departureMonth，departureDate拼成的日期字段
			_date = "";
			_pairid="";
		}
		
		public function set id(value:int):void{
			this._id = value;
		}
		
		public function set packageid(value:int):void{
			this._packageid = value;
		}
		
		public function set departureDate(value:int):void{
			this._departureDate = value;
		}
		
		public function set departureMonth(value:int):void{
			this._departureMonth = value;
		}
		
		public function set departureYear(value:int):void{
			this._departureYear = value;
		}
		
		public function set slot(value:int):void{
			this._slot = value;
		}
		
		public function set available(value:int):void{
			this._available = value;
		}
		
		public function set updateTime(value:String):void{
			this._updateTime = value;
		}
		
		public function set offlineOperator(value:String):void{
			this._offlineOperator = value;
		}
		
		public function set date(value:String):void{
			this._date = value;
		}
		
		public function set pairid(value:String):void{
			this._pairid=value;
		}
		public function get pairid():String{
			return this._pairid;
		}
		
		public function get id():int{
			return this._id;
		}
		
		public function get packageid():int{
			return this._packageid;
		}
		
		public function get departureDate():int{
			return this._departureDate;
		}
		
		public function get departureMonth():int{
			return this._departureMonth;
		}
		
		public function get departureYear():int{
			return this._departureYear;
		}
		
		public function get slot():int{
			return this._slot;
		}
		
		public function get available():int{
			return this._available;
		}
		
		public function get updateTime():String{
			return this._updateTime;
		}
		
		public function get offlineOperator():String{
			return this._offlineOperator;
		}
		public function get date():String{
			return this._date;
		}
	}
}